package hcn.protocol.brandnew.dengji.guahao;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import ctd.util.xml.jaxb.DateTimeAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 挂号取消预约通知-请求信息 - ODS_02030007
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "MsgBody")
@XmlAccessorType(XmlAccessType.FIELD)
public class ListRosteringDeptRequest extends BaseRequest {

    /**
     * 就诊医疗机构组织机构代码
     */
    @XmlElement(name = "VisitOrganization")
    private String visitOrganization;
    /**
     * 就诊机构名称
     */
    @XmlElement(name = "VisitOrganizationName")
    private String visitOrganizationName;
    /**
     * 预约记录流水号
     */
    @XmlElement(name = "AppointsId")
    private String appointsId;
    /**
     * 患者姓名
     */
    @XmlElement(name = "Name")
    private String name;
    /**
     * 业务系统患者档案ID
     */
    @XmlElement(name = "SourcePatientId")
    private String sourcePatientId;
    /**
     * 科室名称
     */
    @XmlElement(name = "DeptName")
    private String deptName;
    /**
     * 医生姓名
     */
    @XmlElement(name = "DoctorName")
    private String doctorName;
    /**
     * 排班日期时间
     */
    @XmlElement(name = "ScheduleDateTime")
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date scheduleDateTime;
    /**
     * 取消原因
     */
    @XmlElement(name = "RefundReason")
    private String refundReason;

}
